package GUI.service;

import GUI.pojo.UserDO;

public interface UserService {
    UserDO getByUsernameAndPwd(String username, String pwd);
    void saveMoney(int id,double balance);
    void getMoney(int id,double balance) throws Exception;
    double searchMoney(int id);
    void transferMoney(String username,String othername,double balance) throws Exception;
    void setPwd(String username,String oldPwd,String newPwd) throws Exception;
}
